package client;

import java.awt.*;

import javax.swing.*;

public class UserChatRoom extends JFrame {
	
	public UserChatRoom(Component leftComponent, Component rightComponent){
		JSplitPane jsp = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, true, leftComponent, rightComponent);
		//jsp.setVisible(true);
		this.add(jsp);
		this.pack();
		this.setVisible(true);
		this.setLocation(400, 300);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}
}
